﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <ExponentialEase Exponent="2" EasingMode="EaseIn" x:Key="ExpoEaseIn" />
    <ExponentialEase Exponent="2" EasingMode="EaseOut" x:Key="ExpoEaseOut" />
    <ExponentialEase Exponent="2" EasingMode="EaseInOut" x:Key="ExpoEaseInOut" />

    <Storyboard x:Key="HideFloatingMessageStoryboard">
        <DoubleAnimation EasingFunction="{StaticResource ExpoEaseInOut}" Storyboard.TargetName="FloatingMessageContainer" Storyboard.TargetProperty="Height" To="0" Duration="0:0:.2" />
        <DoubleAnimation Storyboard.TargetName="FloatingMessageContainer" Storyboard.TargetProperty="Opacity" To="0" Duration="0:0:.2" />
        <DoubleAnimation EasingFunction="{StaticResource ExpoEaseIn}" Storyboard.TargetName="FloatingMessage" Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.Y)" To="20" Duration="0:0:.2" />
    </Storyboard>
    <Storyboard x:Key="ShowFloatingMessageStoryboard">
        <DoubleAnimation EasingFunction="{StaticResource ExpoEaseInOut}" Storyboard.TargetName="FloatingMessageContainer" Storyboard.TargetProperty="Height" To="15" Duration="0:0:.2" />
        <DoubleAnimation Storyboard.TargetName="FloatingMessageContainer" Storyboard.TargetProperty="Opacity" Duration="0:0:.2" />
        <DoubleAnimation EasingFunction="{StaticResource ExpoEaseOut}" Storyboard.TargetName="FloatingMessage" Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.Y)" To="0" Duration="0:0:.2" />
    </Storyboard>

</ResourceDictionary>